<template>
  <div id="app">
    <div class="zj">
    <HelloWorld msg="这是Vue基础班的作业"/>
    </div>
    <div class="zy">
      <div class="MaxBox">
        <input  type="radio">
          <div class="MaxImg">
         <img alt="Vue logo" src="./assets/images/1.png">
          </div>
          <div class="P">
             <p class="MinTop">黄色的壁纸页，有点贵但是问题不大，虽然并没有什么用</p>
             <select class="MinMiddle">
               <option value="1">黄色：宽高自己拉!!!!  不行就PS</option>
             </select>
             <div class="MinBottom">￥998 
                 <div>
                 <button>-</button>
                 <div class="botttomsum">1</div>
                 <button>+</button>
                 </div>
               </div>
          </div>
      </div>
      <div class="MaxBox">
        <input  type="radio">
          <div class="MaxImg">
         <img alt="Vue logo" src="./assets/images/2.png">
          </div>
          <div class="P">
             <p class="MinTop">蓝色的壁纸页，有点贵但是问题不大，虽然并没有什么用</p>
             <select class="MinMiddle">
               <option value="1">蓝色：宽高自己拉!!!!  不行就PS</option>
             </select>
             <div class="MinBottom">￥998 
                 <div>
                 <button>-</button>
                 <div class="botttomsum">1</div>
                 <button>+</button>
                 </div>
               </div>
          </div>
      </div>
      <div class="MaxBottom">
      <div class="Botleft"><input type="radio">已选(5)</div>
      <p class="contenrP">合计:￥1996</p>
      <button class="xiadan">下单</button>
    </div>
    </div>
  </div>
</template>
<script>
import HelloWorld from './components/HelloWorld.vue'
export default {
  name: 'App',
  components: {
    HelloWorld,
  }
}
</script>
<style>
*{
  margin: 0;padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 20px;
}
#app img{
  width: 170px;
  margin-top: 21px;
}
.zj{
  width: 180px;
}
.zy{
  margin: 30px auto;
  width: 540px;
  height:440px;
  background: #ddd;
  padding: 10px 0;
 border: 1px solid red;
}

.MaxBox{
  width: 100%;
  height: 150px;
  background: white;
   display: flex;
  border-bottom: 1px solid red;
  position: relative;
}
.MaxBox input{
  width: 21px;
  height: 21px;
margin-top: 64px;
margin: 64px 10px 0 10px;
outline:none;
}
.MaxImg{
  width: 170px;
  height: 128px;
  padding: 6px;
  margin-top: 6px;
  padding-top: 0;
  background: #ccc;
}
.P{
  margin: 25px 14px 0 14px;
  text-align: left;
}
.MinTop{
  margin-bottom: 8px;
}
.MinMiddle{
  width: 240px;
  height: 24px;
   margin-bottom: 8px;
   border: 1px solid #ccc;
   position: relative;
  font-size: 13px;
  color: #ccc;
}
.MinBottom{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}
.MinBottom div{
  width: 95px;
   display: flex;
   justify-content: space-around;
  
}
.MinBottom div button{
  border: 0;
  width: 75px;
  }
  .MaxBottom{
    display: flex;
    justify-content: space-between;
    position: relative;
    bottom: -73px;
    left: 0px;
    background: white;
    /* padding: 18px 30px; */
    width: 100%;
    height: 75px;
    position: relative;
  }
  .MaxBottom input{
  width: 16px;
  height: 16px;
  margin: 30px 10px 0 10px;

  }
  .MaxBottom div{
color: gray;
  }
  .contenrP{
    line-height: 75px;
    position: absolute;
    top: 0;
    right: 125px;
    color: #D5132E;
  }
  .xiadan{
    width: 120px;
    height: 75px;
    color: white;
    background: #D5132E;
    border: 0;
  }
</style>
